<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<f:loadBundle basename="login" var="msg" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${msg.headTitle}</title>
<link rel="stylesheet" href="../css/style.css" />
</head>
<body>
<f:view>
	<h:messages style="color: red" showDetail="true" />
	<h:form id="login" styleClass="text">
		<h:panelGrid columns="2" border="0">
            ${msg.username}: <h:inputText id="username"
				value="#{usermanager.login}" />
            ${msg.password}: <h:inputSecret id="password"
				value="#{usermanager.password}" />
		</h:panelGrid>
		<h:commandButton id="submit" type="submit" value="#{msg.login}"
			action="#{usermanager.makeLogin}" />
	</h:form>
</f:view>
</body>
</html>
